
TARGET=module_start_uart
SHORT=UARTMOD
CORE0=1
CORE1=0
CORE2=0
CORE3=0

all:
	cd ./src/ && rm perl_out.h
	cd ./parse/ && perl ../hmaker.pl $(SHORT) $(TARGET)_0 $(TARGET)_1 $(TARGET)_2 $(TARGET)_3 $(CORE0) $(CORE1) $(CORE2) $(CORE3)
	xmake -f Makefile_real clean
	xmake -f Makefile_real all
	cd ./src/ && rm perl_out.h
	cd ./parse/ && perl ../hmaker.pl $(SHORT) $(TARGET)_0 $(TARGET)_1 $(TARGET)_2 $(TARGET)_3 $(CORE0) $(CORE1) $(CORE2) $(CORE3)
	xmake -f Makefile_real clean
	xmake -f Makefile_real all
	
clean:
	xmake -f Makefile_real clean